/**
 * @(#) CongMoneyVO.as
 *
 * @date		2011. 03. 19.
 * @version		1.0
 * @author		bgh
 * @description	메인 리스트  Value Object
 *
 */
package com.skt.common_hr.esstop.model.vo
{
	import com.skt.common_hr.common.Variables;

	[Bindable]
	public class mainListVO
	{
		public var  GWAREKEY:String;	//결재키                    
		public var  WSTATUS:String; 	//신청상태코드              
		public var  WSTATX:String; 	//신청상태 TEXT  
		public var  WETXT:String; 	// 반려사유             
		public var  BETRG:int; 		//대출금액                  
		public var  BETRG_TX:String; 		//대출금액 콤마
		public var  BUSE:String; 		//대출용도                  
		public var  BUSET:String; 		//대출용도 TEXT             
		public var  BREAS:String; 		//대출사유                  
		public var  PERNR:String; 		//신청자                    
		public var  ENAME:String; 		//신청자 명                 
		public var  SDATE:Date; 		//신청일자                  
		public var  PAYDT:Date; 		//지급일자                  
		public var  RSTATUS:String; 	//보증보험상태              
		public var  RSTATX:String; 	//보증보험상태 TEXT      

		public var  DLART:String; 	//대출유형
		public var  DTEXT:String; 	//대출유형 TEXT
		public var  WAERS:String; 	//통화 키


		public var SDATE_JSON:String;		
		public var PAYDT_JSON:String;		

		public var SDATE_TX:String;		
		public var PAYDT_TX:String;	
		public var RETXT:String;		

		public function get PERNR_CHECK():String {
			return parseInt(PERNR).toString();
		}
		
		public function get IMSI_CHECK():Boolean {
			if(WSTATUS=="1") {
				return true;
			} else {
				return false;
			}
		}

		public function get REJECT_CHECK():Boolean {
			if(WSTATUS=="4" || WSTATUS=="7") {
				return true;
			} else {
				return false;
			}
		}		
	}
}